package com.thwcompany;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SuppressWarnings("all")
@SpringBootApplication
@EnableFeignClients
@EnableEurekaClient
@EnableHystrix //启用断路器
//@EnableConfigServer
public class ConsumerHystrixApplication {


    public static void main(String[] args) {

        SpringApplication.run(ConsumerHystrixApplication.class, args);
    }
}
